package com.group9.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class OrderDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderDetailIdIsNull() {
            addCriterion("order_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdIsNotNull() {
            addCriterion("order_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdEqualTo(Integer value) {
            addCriterion("order_detail_id =", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotEqualTo(Integer value) {
            addCriterion("order_detail_id <>", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdGreaterThan(Integer value) {
            addCriterion("order_detail_id >", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_detail_id >=", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdLessThan(Integer value) {
            addCriterion("order_detail_id <", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_detail_id <=", value, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdIn(List<Integer> values) {
            addCriterion("order_detail_id in", values, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotIn(List<Integer> values) {
            addCriterion("order_detail_id not in", values, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdBetween(Integer value1, Integer value2) {
            addCriterion("order_detail_id between", value1, value2, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderDetailIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_detail_id not between", value1, value2, "orderDetailId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andFruitIdIsNull() {
            addCriterion("fruit_id is null");
            return (Criteria) this;
        }

        public Criteria andFruitIdIsNotNull() {
            addCriterion("fruit_id is not null");
            return (Criteria) this;
        }

        public Criteria andFruitIdEqualTo(Integer value) {
            addCriterion("fruit_id =", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotEqualTo(Integer value) {
            addCriterion("fruit_id <>", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdGreaterThan(Integer value) {
            addCriterion("fruit_id >", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("fruit_id >=", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdLessThan(Integer value) {
            addCriterion("fruit_id <", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdLessThanOrEqualTo(Integer value) {
            addCriterion("fruit_id <=", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdIn(List<Integer> values) {
            addCriterion("fruit_id in", values, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotIn(List<Integer> values) {
            addCriterion("fruit_id not in", values, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdBetween(Integer value1, Integer value2) {
            addCriterion("fruit_id between", value1, value2, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotBetween(Integer value1, Integer value2) {
            addCriterion("fruit_id not between", value1, value2, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitNameIsNull() {
            addCriterion("fruit_name is null");
            return (Criteria) this;
        }

        public Criteria andFruitNameIsNotNull() {
            addCriterion("fruit_name is not null");
            return (Criteria) this;
        }

        public Criteria andFruitNameEqualTo(String value) {
            addCriterion("fruit_name =", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotEqualTo(String value) {
            addCriterion("fruit_name <>", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameGreaterThan(String value) {
            addCriterion("fruit_name >", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameGreaterThanOrEqualTo(String value) {
            addCriterion("fruit_name >=", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLessThan(String value) {
            addCriterion("fruit_name <", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLessThanOrEqualTo(String value) {
            addCriterion("fruit_name <=", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLike(String value) {
            addCriterion("fruit_name like", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotLike(String value) {
            addCriterion("fruit_name not like", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameIn(List<String> values) {
            addCriterion("fruit_name in", values, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotIn(List<String> values) {
            addCriterion("fruit_name not in", values, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameBetween(String value1, String value2) {
            addCriterion("fruit_name between", value1, value2, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotBetween(String value1, String value2) {
            addCriterion("fruit_name not between", value1, value2, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitCntIsNull() {
            addCriterion("fruit_cnt is null");
            return (Criteria) this;
        }

        public Criteria andFruitCntIsNotNull() {
            addCriterion("fruit_cnt is not null");
            return (Criteria) this;
        }

        public Criteria andFruitCntEqualTo(Integer value) {
            addCriterion("fruit_cnt =", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntNotEqualTo(Integer value) {
            addCriterion("fruit_cnt <>", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntGreaterThan(Integer value) {
            addCriterion("fruit_cnt >", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntGreaterThanOrEqualTo(Integer value) {
            addCriterion("fruit_cnt >=", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntLessThan(Integer value) {
            addCriterion("fruit_cnt <", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntLessThanOrEqualTo(Integer value) {
            addCriterion("fruit_cnt <=", value, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntIn(List<Integer> values) {
            addCriterion("fruit_cnt in", values, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntNotIn(List<Integer> values) {
            addCriterion("fruit_cnt not in", values, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntBetween(Integer value1, Integer value2) {
            addCriterion("fruit_cnt between", value1, value2, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitCntNotBetween(Integer value1, Integer value2) {
            addCriterion("fruit_cnt not between", value1, value2, "fruitCnt");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIsNull() {
            addCriterion("fruit_price is null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIsNotNull() {
            addCriterion("fruit_price is not null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceEqualTo(BigDecimal value) {
            addCriterion("fruit_price =", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotEqualTo(BigDecimal value) {
            addCriterion("fruit_price <>", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceGreaterThan(BigDecimal value) {
            addCriterion("fruit_price >", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price >=", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceLessThan(BigDecimal value) {
            addCriterion("fruit_price <", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price <=", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIn(List<BigDecimal> values) {
            addCriterion("fruit_price in", values, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotIn(List<BigDecimal> values) {
            addCriterion("fruit_price not in", values, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price between", value1, value2, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price not between", value1, value2, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Float value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Float value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Float value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Float value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Float value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Float value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Float> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Float> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Float value1, Float value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Float value1, Float value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyIsNull() {
            addCriterion("fee_money is null");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyIsNotNull() {
            addCriterion("fee_money is not null");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyEqualTo(BigDecimal value) {
            addCriterion("fee_money =", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyNotEqualTo(BigDecimal value) {
            addCriterion("fee_money <>", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyGreaterThan(BigDecimal value) {
            addCriterion("fee_money >", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fee_money >=", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyLessThan(BigDecimal value) {
            addCriterion("fee_money <", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fee_money <=", value, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyIn(List<BigDecimal> values) {
            addCriterion("fee_money in", values, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyNotIn(List<BigDecimal> values) {
            addCriterion("fee_money not in", values, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fee_money between", value1, value2, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andFeeMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fee_money not between", value1, value2, "feeMoney");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusIsNull() {
            addCriterion("order_detail_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusIsNotNull() {
            addCriterion("order_detail_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusEqualTo(Byte value) {
            addCriterion("order_detail_status =", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusNotEqualTo(Byte value) {
            addCriterion("order_detail_status <>", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusGreaterThan(Byte value) {
            addCriterion("order_detail_status >", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("order_detail_status >=", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusLessThan(Byte value) {
            addCriterion("order_detail_status <", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusLessThanOrEqualTo(Byte value) {
            addCriterion("order_detail_status <=", value, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusIn(List<Byte> values) {
            addCriterion("order_detail_status in", values, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusNotIn(List<Byte> values) {
            addCriterion("order_detail_status not in", values, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusBetween(Byte value1, Byte value2) {
            addCriterion("order_detail_status between", value1, value2, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDetailStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("order_detail_status not between", value1, value2, "orderDetailStatus");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}